list-box: fix typo in natural size computation
authorPaolo Borelli <pborelli@gnome.org>
Sun, 13 Jul 2014 13:45:21 +0000 (15:45 +0200)
committerPaolo Borelli <pborelli@gnome.org>
Sun, 13 Jul 2014 13:47:03 +0000 (15:47 +0200)
gtk/gtklistbox.c

index b9d63554d3569b46783bd670dabb9f6f65f01581..2958a3ad23bfd3c59f90cb738abc171408f2824c 100644 (file)
@@ -3028,7 +3028,7 @@ gtk_list_box_row_get_preferred_width (GtkWidget *widget,
                                       &child_min, &child_natural);
 
   *minimum_width_out = full_border.left + child_min + full_border.right;
-  *natural_width_out = full_border.left + child_natural + full_border.bottom;
+  *natural_width_out = full_border.left + child_natural + full_border.right;
 }
 
 static void